﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="top.aspx.cs" Inherits="Manage_top" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>top</title>
<link href="skin/css/base.css" rel="stylesheet" type="text/css" />
<script language='javascript'>
    var preFrameW = "206,*";
    var FrameHide = 0;
    var curStyle = 1;
    var totalItem = 9;
    function ChangeMenu(way) {
        var addwidth = 10;
        var fcol = parent.document.getElementById("btFrame").cols;
        if (way == 1) addwidth = 10;
        else if (way == -1) addwidth = -10;
        else if (way == 0) {
            if (FrameHide == 0) {
                preFrameW = parent.document.getElementById("btFrame").cols;
                parent.document.getElementById("btFrame").cols = "0,*";
                FrameHide = 1;

                return;
            } else {
                parent.document.getElementById("btFrame").cols = preFrameW;
                FrameHide = 0;

                return;
            }
        }
        fcols = fcol.split(',');
        fcols[0] = parseInt(fcols[0]) + addwidth;
        parent.document.getElementById("btFrame").cols = fcols[0] + ',*';
    }


    function mv(selobj, moveout, itemnum) {
        if (itemnum == curStyle) return false;
        if (moveout == 'm') selobj.className = 'itemsel';
        if (moveout == 'o') selobj.className = 'item';
        return true;
    }

    function changeSel(itemnum) {
        curStyle = itemnum;
        for (i = 1; i <= totalItem; i++) {
            if (document.getElementById('item' + i)) document.getElementById('item' + i).className = 'item';
        }
        document.getElementById('item' + itemnum).className = 'itemsel';
    }

</script>
<style>
body { padding:0px; margin:0px; }
#tpa {
	color: #009933;
	margin:0px;
	padding:0px;
	float:right;
	padding-right:10px;
}

#tpa dd {
	margin:0px;
	padding:0px;
	float:left;
	margin-right:2px;
}

#tpa dd.ditem {
	margin-right:8px;
}

#tpa dd.img {
  padding-top:6px;
}

div.item
{
  text-align:center;
	background:url(skin/images/frame/topitembg.gif) 0px 3px no-repeat;
	width:82px;
	height:26px;
	line-height:28px;
}

.itemsel {
  width:80px;
  text-align:center;
  background:#226411;
	border-left:1px solid #c5f097;
	border-right:1px solid #c5f097;
	border-top:1px solid #c5f097;
	height:26px;
	line-height:28px;
}

*html .itemsel {
	height:26px;
	line-height:26px;
}

a:link,a:visited {
 text-decoration: underline;
}

.item a:link, .item a:visited {
	font-size: 12px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

.itemsel a:hover {
	color: #ffffff;
	font-weight: bold;
	border-bottom:2px solid #E9FC65;
}

.itemsel a:link, .itemsel a:visited {
	font-size: 12px;
	color: #ffffff;
	text-decoration: none;
	font-weight: bold;
}

.itemsel a:hover {
	color: #ffffff;
	border-bottom:2px solid #E9FC65;
}

.rmain {
  padding-left:10px;
  /* background:url(skin/images/frame/toprightbg.gif) no-repeat; */
}
</style>
</head>
<body bgColor='#ffffff'>
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0" background="skin/images/frame/topbg.gif">
  <tr>
    <td width='20%' height="60"><img src="skin/images/frame/logo.gif" /></td>
    <td width='80%' align="right" valign="bottom">
    	<table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="156" rowspan="2" align="right" style="padding-right:10px;">
      
         </td>
      <td width="100%" height="26" align="right" style="padding-right:10px;line-height:26px;">
        	您好：<span class="username"><asp:Label ID="lblusername" runat="server"></asp:Label></span>，欢迎使用培训管理系统！
        	  <%--[<a href="main.aspx"  >网站主页</a>]
        	  [<a target="_top" href="basisset/ChangePasswor.aspx">修改密码</a>]--%>
       	    [<a href="LogOut.aspx" target="_top">注销退出</a>]&nbsp;</td>
      </tr>
      <tr>
        <td align="right" height="34" class="rmain">
		<dl id="tpa">
		<dd class='img'><a href="javascript:ChangeMenu(-1);"><img vspace="5" src="skin/images/frame/arrl.gif" border="0" width="5" height="8" alt="缩小左框架"  title="缩小左框架" /></a></dd>
		<dd class='img'><a href="javascript:ChangeMenu(0);"><img vspace="3" src="skin/images/frame/arrfc.gif" border="0" width="12" height="12" alt="显示/隐藏左框架" title="显示/隐藏左框架" /></a></dd>
		<dd class='img' style="margin-right:10px;"><a href="javascript:ChangeMenu(1);"><img vspace="5" src="skin/images/frame/arrr.gif" border="0" width="5" height="8" alt="增大左框架" title="增大左框架" /></a></dd>
		<%--<dd><div class='itemsel' id='item1' onMouseMove="mv(this,'move',1);" onMouseOut="mv(this,'o',1);"><a href="menu.html" onclick="changeSel(1)" target="menu">主菜单</a></div></dd>
		<dd><div class='item' id='item2' onMouseMove="mv(this,'m',2);" onMouseOut="mv(this,'o',2);"><a href="menu.html" onclick="changeSel(2)" target="menu"></a></div></dd>
		<dd><div class='item' id='item8' onMouseMove="mv(this,'m',8);" onMouseOut="mv(this,'o',8);"><a href="menu.html" onclick="changeSel(8)" target="menu"></a></div></dd>
		<dd><div class='item' id='item4' onMouseMove="mv(this,'m',4);" onMouseOut="mv(this,'o',4);"><a href="menu.html" onclick="changeSel(4)" target="menu"></a></div></dd>
		<dd><div class='item' id='item5' onMouseMove="mv(this,'m',5);" onMouseOut="mv(this,'o',5);"><a href="menu.html" onclick="changeSel(5)" target="menu"></a></div></dd>
		<dd><div class='item' id='item9' onMouseMove="mv(this,'m',9);" onMouseOut="mv(this,'o',9);"><a href="main.html" onclick="changeSel(9)" target="main"></a></div></dd>--%>
		</dl>		</td>
      </tr>
    </table></td>
  </tr>
</table>
    </form>
</body>
</html>
